
package com.gemframework.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gemframework.model.common.PageInfo;
import com.gemframework.model.entity.po.Users;
import com.gemframework.model.entity.vo.UsersVo;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @Title: UsersMapper
 * @Date: 2021-03-10 16:25:54
 * @Version: v1.0
 * @Description: 持久层
 * @Author: gem
 * @Email: gemframe@163.com
 * @Copyright: Copyright (c) 2020 wanyong
 * @Company: www.gemframework.com
 */
@Repository
public interface UsersMapper extends BaseMapper<Users> {

    public List<Users> selUsersPage(Map<String,Object> map);

    public Integer selUsersPageCount(Map<String,Object> map);

    public UsersVo selUsers(Integer id);

    public int delete(Integer id);

    public int updateId(Integer id);

    public List<UsersVo> listByLoginId(Integer id);

    public int select(@Param("id")Integer id,@Param("status")Integer status,@Param("creDate")String creDate);
}